"""
监控模块 - 提供应用性能监控、指标收集和告警功能
"""

from .metrics import (
    MetricType,
    Metric,
    Counter,
    Gauge,
    Histogram,
    Summary,
    IMetricsCollector,
    PrometheusCollector,
    InMemoryCollector,
    MetricsManager,
    get_metrics_manager,
    collect_metrics,
    timer,
    increment,
    set_gauge,
    observe_histogram
)

from .health import (
    HealthStatus,
    HealthCheck,
    IHealthChecker,
    DatabaseHealthChecker,
    RedisHealthChecker,
    HTTPHealthChecker,
    DiskSpaceHealthChecker,
    MemoryHealthChecker,
    HealthCheckManager,
    get_health_manager,
    health_check
)

__all__ = [
    # 指标相关
    "MetricType",
    "Metric",
    "Counter",
    "Gauge", 
    "Histogram",
    "Summary",
    "IMetricsCollector",
    "PrometheusCollector",
    "InMemoryCollector",
    "MetricsManager",
    "get_metrics_manager",
    "collect_metrics",
    "timer",
    "increment",
    "set_gauge",
    "observe_histogram",
    
    # 健康检查相关
    "HealthStatus",
    "HealthCheck",
    "IHealthChecker",
    "DatabaseHealthChecker",
    "RedisHealthChecker", 
    "HTTPHealthChecker",
    "DiskSpaceHealthChecker",
    "MemoryHealthChecker",
    "HealthCheckManager",
    "get_health_manager",
    "health_check"
]
